import { createStore } from 'vuex'

export default createStore({
  state: {
    isLogin: false,
    phone: null,
  },
  mutations: {
    update(state, val) {
      state.isLogin = val
    },
    updatePhone(state, val) {
      state.phone = val
    },
  },
  actions: {},
  modules: {},
})
